<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/templates/css/style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/login_style.css" type="text/css" />
<link rel="stylesheet" href="/templates/css/lottery.css" type="text/css" />
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>
<meta name="keywords" content="{<$assign_info[1].info>}" />
<meta name="description" content="{<$assign_info[2].info>}" />
<!--[if lt IE 10]>
<script type="text/javascript" src="/templates/js/PIE.js"></script>
<![endif]-->
<title>会员中心_{<$assign_info[0].info>}</title>
</head>
<body>
	<div id="wrap">
		<div id="nav">
        	<div class="nav_menu">
            	<div class="nav_menu_left">
                	<li><a href="#" onclick="Addme()">收藏本站</a></li>
                    <script>
                    function Addme() {
    					url = document.URL;  //你自己的主页地址
    					title = "游戏扒一扒";  //你自己的主页名称
    					window.external.AddFavorite(url, title);
					}
                    </script>
                    <li>固件</li>
                    <li>新闻中心</li>
                    <li>新手教程</li>
                    <li>越狱</li>
                    <li>微博</li>
                    <li>商务合作</li>
                </div>
                <div class="nav_menu_right">
                	{<if $uid != ''>}
                	<li><a href="member.php?id={<$uid>}">查看我的积分</a></li>
                    <li><a href="member.php?id={<$uid>}">进入会员中心</a></li>
                    {</if>}
                	<li><a href="login.html" target="_blank">注册</a></li>
                    <li><a href="login.html" target="_blank">登录</a></li>
                </div>
            </div>
        </div><!--顶部-->
        <div id="header">
        	<div id="banner"><a href="/app_list/app-{<$assign_bannerapp[0].id>}.html" target="_blank" title="{<$assign_bannerapp[0].name>}"><img src="{<$assign_bannerapp[0].url>}" alt="{<$assgin_bannerapp[0].name>}" /></a></div>
            <div id="menu">
            	<div class="logo"></div>
                <div class="search">
                	<div class="search_content">
						<div class="search_main">
							<form action="search.php" method="get">
                        	<div class="search_icon"></div>
							
                        	<input class="search_text" name="keywords" type="text" value="{<$assign_skeyword[0]['name']>}" /></div>
							<input class="search_button" type="submit" value="搜索" />
                        	</form>
						
                        	
                    </div>
                    <div class="search_keywords">热门搜索：
                    	{<section name="s" loop=$assign_search>}
                        	<a href="search.php?keywords={<$assign_search[s].name>}&page=1" target="_blank"><span>{<$assign_search[s].name>} </span></a>
                        {</section>}
                    </div>
                </div>
                	<div class="menu_tab">
                    	<li class="selected"><a href="index.html" target="_blank">iPhone游戏</a></li>
                        {<section name="c" loop=$assign_artcategory>}
                        	<li><a href="article-1-{<$assign_artcategory[c].id>}.html" target="_blank">{<$assign_artcategory[c].name>}</a></li>
                        {</section>}
<!--                        <li>游戏测评</li>
                        <li>iPhone新闻</li>-->
                        <li><a href="lottery.html" target="_blank">积分兑换</a></li>
                    </div>
            </div>
            <div id="menu_list">
				<div class="listmenu">
              		<li><a href="index.html" target="_blank">首页</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=1&ca=0&kw=0&pre=" target="_blank">限时免费</a></li>
                	<li><a href="app_list.php?page=1&order=1&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">热门游戏</a></li>
                	<li><a href="app_list.php?page=1&order=0&id=0&pri=0&ca=0&kw=0&pre=" target="_blank">最新APP应用</a></li>
                	<li><a href="app_list.php?page=1&id=0&pri=0&ca=0&kw=1&pre=" target="_blank">网游</a></li>
				</div>
                <div class="app_count"><h1>共{<$assign_countapp>}个应用,今日更新{<$assign_radnom>}个应用</h1></div>
            </div>
        </div><!--头部-->
        <div id="container">
			<div id="content">
				<div id="login_location"><a href="index.html" target="_blank">首页</a>>>>会员中心</div>
				<div id="content_left">
					<div id="login_push">
						<div class="push_title">推荐APP</div>
						<div class="main">
						{<section name="app" loop=$assign_apprank >}
						<dt>
							<a href="/app_list/app-{<$assign_apprank[app].id>}" target="_blank">
							<div class="icon"><img src="{<$assign_apprank[app].icon>}" width="70px" height="70px"/></div>
							<div class="name">{<$assign_apprank[app].name>}</div>
							</a>
						</dt>
						{</section>}
						</div>
					</div>
					<div id="login_main">
                    	<table>
                        	<form action="" method="post">
                        	<tr>
                            	<td>{<$assign_uid.name>}</td>
                                <td>欢迎回到游戏扒一扒</td>
                                <td></td>
                            </tr>
                        	<tr>
                            	<td><label>积分:</label></td>
                                <td>{<$assign_uid.inte>}</td>
                                <td><a href="lottery.php" target="_blank">去抽奖&nbsp;>></a></td>
                            </tr>
                        	<tr>
                            	<td><lable>邮箱</lable></td>
                                <td>{<$assign_uid.email>}</td>
                            </tr>
                            <tr>
                            	<td><label>修改密码</label></td>
                                <td><input id="pwd" type="password" name="pwd" /></td>
                                <td class="tips"></td>
                            </tr>
                            <tr>
                            	<td><label>重复密码</label></td>
                                <td><input id="repeat_pwd" type="password" name="repeatpwd" /></td>
                                <td class="tips"></td>
                            </tr>
                            <tr>
                            	<td></td>
                                <td><input type="submit" name="changepwd" value="确定" /></td>
                                <td></td>
                            </tr>
                            </form>
                            <script>
								$("#pwd").blur(function(){
									var pwd = $("#pwd").val();
									var pwd_len = pwd.length;
									if(pwd_len == '0' || pwd_len < 6){
										$("#pwd").parent("td").next("td.tips").html("密码不得少于6位").css("color","red");
									}else if(pwd_len != '0' || pwd_len > 6){
										$("#pwd").parent("td").next("td.tips").html("请再输入一次密码").css("color","black");
									}
								});
								
								$("#repeat_pwd").blur(function(){
									var rpwd = $("#repeat_pwd").val();
									var rpwd_len = rpwd.length;
									var pwd = $("#pwd").val();
									var pwd_len = pwd.length;
									if(rpwd_len != pwd_len || rpwd != pwd){
										$("#repeat_pwd").parent("td").next("td.tips").html("两次密码不相同").css("color","red");
									}else if (rpwd_len == '0'){
										$("#repeat_pwd").parent("td").next("td.tips").html("请重复密码").css("color","red");
									}else if(rpwd == pwd){
										$("#repeat_pwd").parent("td").next("td.tips").html("两次密码相同").css("color","#000");
									}
								});

							</script>
                        </table>
                    </div>
				</div>
				<div id="content_right">
					<div class="lottery_intro">
                    	<div class="title">抽奖说明</div>
						<span>【抽奖规则】</span>
                        <p>本站积分可用于抽奖，有机会获得Q币、iPod、手机充值卡、iPhone5、iPad3等奖励。</p>
                        <span>【积分获得方式】</span>
                        <p>1.注册成文本站会员<br />2.登录网站<br />3.下载游戏或APP软件</p>
                        <span>【抽奖规则】</span>
                        <p>本站积分可用于抽奖，有机会获得Q币、iPod、手机充值卡、iPhone5、iPad3等奖励。</p>
						<p style="color:#FF0000; font-weight:bold;">抽奖概率说明</p>
                    </div>
				</div>
			
			<!--左侧-->
